import 'package:get/get.dart';
import 'package:study_demo/base/BaseController.dart';
import 'package:study_demo/ui/note/rust_study/picture_ashing_page.dart';
import 'package:study_demo/ui/note/rust_study/picture_format_change_page.dart';
import 'package:url_launcher/url_launcher.dart';

import '../../../api/api.dart';

class RustStudyController extends BaseController {
  goRust() {
    launchUrl(Uri.parse(rustStudyUrl));
  }

  @override
  void onInit() {
    super.onInit();
  }

  goPictureAshingPage() {
    Get.to(PictureAshingPage());
  }

  goPictureFormatChange() {
    Get.to(PictureFormatChangePage());
  }
}
